aboutsummaryrefslogtreecommitdiff
path: root/src/app/manga/[title]/[id]/[read]
diff options
context:
space:
mode:
authorreal-zephex <[email protected]>2024-04-07 19:30:25 +0530
committerGitHub <[email protected]>2024-04-07 19:30:25 +0530
commit1cca92c67651972e6671bfbd7fee325cccd64690 (patch)
tree2c569fcd87048af5d3b2fd23a89b28c50565a109 /src/app/manga/[title]/[id]/[read]
parentMerge pull request #3 from real-zephex/kdrama-section-rewrite (diff)
parentidek (diff)
downloaddramalama-1cca92c67651972e6671bfbd7fee325cccd64690.tar.xz
dramalama-1cca92c67651972e6671bfbd7fee325cccd64690.zip
Merge pull request #4 from real-zephex/cloudflare-fix
Cloudflare fix
Diffstat (limited to 'src/app/manga/[title]/[id]/[read]')
-rw-r--r--src/app/manga/[title]/[id]/[read]/page.jsx4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/app/manga/[title]/[id]/[read]/page.jsx b/src/app/manga/[title]/[id]/[read]/page.jsx
index eaaa94c..fa338ac 100644
--- a/src/app/manga/[title]/[id]/[read]/page.jsx
+++ b/src/app/manga/[title]/[id]/[read]/page.jsx
@@ -3,6 +3,8 @@ import Image from "next/image";
import DownloadManga from "./download";
import CurrentReading from "./currentReading";
+export const runtime = "edge";
+
export default async function Read({ params }) {
const chapterId = params.read;
const data = await getPages(chapterId);
@@ -32,7 +34,7 @@ export default async function Read({ params }) {
images.map((item, index) => (
<div className={styles.Image} key={index}>
<Image
- src={`https://image-proxy-4xuu.onrender.com/image-proxy?url=${item}`}
+ src={`https://sup-proxy.zephex0-f6c.workers.dev/api-content?url=${item}`}
key={index}
alt="Pages"
width={800}